
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ Page Language="c#" AutoEventWireup="true" CodeFile="article_Add.aspx.cs" Inherits="Carticle_Add" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<HTML><HEAD><TITLE>Article</TITLE>
<LINK REL="stylesheet" href="include/style.css" type="text/css"></LINK><!--[if IE]><LINK REL="stylesheet" href="include/styleIE.css" type="text/css"></LINK><![endif]-->
    <script src="include/ckeditor/ckeditor.js" type="text/javascript"></script>
    <STYLE>
#center_block{$id} {width:800px;margin:0 auto;}
#contents_block{$id} {text-align:center;}
#header_block{$id} {white-space:nowrap;height:31px;padding:5px;text-align:center;}
#footer_block{$id} {height:15px;}
#fields_block{$id} {width:100%}
#buttons_block{$id} {padding-bottom:5px;white-space:nowrap;text-align:center;}
#required_block{$id} {text-align:left;padding:5px}
#message_block{$id} {padding:5px 5px;text-align:center;}
</STYLE>
<script language="javascript">
    function openpopup(url, name, options, fullscreen) {
        var fullurl = '{$fullurl}' + url;
        var windowobj = window.open(fullurl, name, options);
        if (!windowobj) {
            return true;
        }
        if (fullscreen) {
            windowobj.moveTo(0, 0);
            windowobj.resizeTo(screen.availWidth, screen.availHeight);
        }
        windowobj.focus();
        return false;
    }
</script>
<META name=GENERATOR content="MSHTML 9.00.8112.16434"></HEAD>
<BODY>{$header} {BEGIN body}
<TABLE id="center_block{$id}" border=0 cellSpacing=0 cellPadding=0 align=center>
  <TBODY>
  <TR>
    <TD>{BEGIN flybody}<B class=xtop><B class=xb1b></B><B 
      class=xb2b></B><B class=xb3b></B><B class=xb4b></B></B>
      <DIV id="header_block{$id}" class=upeditmenu>Article, Add new record 
      </DIV>
      <DIV 
      style="BORDER-BOTTOM: #516c81 1px solid; BORDER-LEFT: #516c81 1px solid; BORDER-TOP: #516c81 1px solid; BORDER-RIGHT: #516c81 1px solid" 
      class=main_table_border2>
      <TABLE class=main_table_border border=0 cellSpacing=0 cellPadding=0 
      align=center style="width:800px">
        {BEGIN message_block}<DIV id="message_block{$id}" class=downedit>{$message}</DIV>{END message_block}
        <TBODY>
        {BEGIN ArtCateID_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Art Cate 
            ID</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$ArtCateID_editcontrol} &nbsp;<IMG 
            src="images/icon_required.gif"> </TD></TR>{END ArtCateID_fieldblock}
        {BEGIN Title_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Title</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$Title_editcontrol} </TD></TR>{END Title_fieldblock}
        {BEGIN ShortDescript_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Short 
            Descript</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$ShortDescript_editcontrol} </TD></TR>{END ShortDescript_fieldblock}
        {BEGIN Content_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b 
width=150>Content</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width="100%"><textarea name="value_Content"  class="ckeditor" style=" width: 700px;height: 250px;"></textarea> </TD></TR>{END Content_fieldblock}
        {BEGIN Active_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Active</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$Active_editcontrol} </TD></TR>{END Active_fieldblock}
        {BEGIN Status_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Status</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$Status_editcontrol} </TD></TR>{END Status_fieldblock}
        {BEGIN VipLevel_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Vip 
          Level</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$VipLevel_editcontrol} </TD></TR>{END VipLevel_fieldblock}
        {BEGIN Viewed_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Viewed</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$Viewed_editcontrol} </TD></TR>{END Viewed_fieldblock}
        {BEGIN Image_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Image</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$Image_editcontrol} <a href="javascript:void(0);" onclick="this.target='popup'; return openpopup('UploadFileManager.aspx', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=650,height=400', 0);">Browse Image...</a></TD></TR>{END Image_fieldblock}
        {BEGIN Author_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Author</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$Author_editcontrol} </TD></TR>{END Author_fieldblock}
        {BEGIN Hot_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">
          <TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Hot</TD>
          <TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$Hot_editcontrol} </TD></TR>{END Hot_fieldblock}
</TBODY></TABLE>
      <DIV id="buttons_block{$id}" class=downedit>
      <DIV id="required_block{$id}"><IMG src="images/icon_required.gif"> - 
      Required field</DIV>{BEGIN save_button}<SPAN class=buttonborder><INPUT class=button name=submit1 value=Save type=submit></SPAN>{END save_button} 
      {BEGIN reset_button}<SPAN class=buttonborder><INPUT class=button value=Reset type=reset></SPAN>{END reset_button} 
      {BEGIN cancel_button}<SPAN class=buttonborder><INPUT class=button value=Cancel type=button {$cancelbutton_attrs}></SPAN>{END cancel_button} 
      {BEGIN back_button}<SPAN class=buttonborder><INPUT class=button value="Back to list" type=button {$backbutton_attrs}></SPAN>{END back_button} 
      </DIV></DIV><B class=xbottom><B class=xb4b></B><B class=xb3b></B><B 
      class=xb2b></B><B class=xb1b></B></B>{END flybody}</TD></TR></TBODY></TABLE>{$footer} 
{END body}</BODY></HTML>
